package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.domain.ResponseResult;
import org.example.domain.dto.RoleListDto;
import org.example.domain.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {
    List<String> selectRoleKeyByUserId(Integer id);

    ResponseResult roleList(RoleListDto roleListDto);

    boolean changeRoleStatus(Role role);

    ResponseResult addRole(Role role);

    ResponseResult getAllRoles();

    ResponseResult updateRole(Role role);
}
